package com.jade.bss.customer.principal;

import java.io.Serializable;
import java.security.Principal;

/**
 * 简单的principal对象。
 *
 * @author sky
 * @version 1.0 14-9-10 下午1:37
 */
public class SimplePrincipal implements Principal, Serializable
{
    public static final String TYPE_ADMIN = "admin";
    public static final String TYPE_ROLE = "role";
    protected String name;
    protected String type;

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }
}
